﻿using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace WebApplication9
{
    public class RecognitionConfig
    {
        [JsonConverter(typeof(StringEnumConverter))]
        public AudioEncoding encoding { get; set; }
        public string languageCode { get; set; }
        public bool enableAutomaticPunctuation { get; set; }
        public int? sampleRateHertz { get; set; } = 16000;
    }
}
